﻿using System.ComponentModel;
using System;
using MyFloridaHouse.libSvOpenDistricts.MapShapes;
using Microsoft.Maps.MapControl;

namespace MyFloridaHouse.libSvOpenDistricts.ViewModel
{
    public partial class ViewModelBase : INotifyPropertyChanged
    {
        public ViewModelBase()
        {
            IntializeCommands();
        }

        #region INotifyPropertyChanged Members
        public event PropertyChangedEventHandler PropertyChanged;
        protected void NotifyPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion
    }
}
